const http = require('http')
const url = require('url')

http.createServer((req,res)=>{
    let url1 = url.parse(req.url)
    console.log(url1);
    res.writeHead(200,{
        'access-control-allow-origin':'*'
    })
    res.end('123123')
}).listen(9090,()=>{
    console.log('server start');
})